package com.hc.res;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author hecai
 * @date 2021/12/22 11:44
 */
@Getter
@Setter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CartDetail {
    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    private Integer id;

    /**
     * 商品总个数
     */
    @ApiModelProperty(value = "商品总个数")
    private Integer totalAmount;

    /**
     * 总金额
     */
    @ApiModelProperty(value = "总金额")
    private BigDecimal totalMoney;

    /**
     * 购物项
     */
    @ApiModelProperty(value = "购物项")
    private List<CartDetailItem> cartDetailItemList;
}
